package lianxi;

public class lian3 {
    public static void main(String[] args) {
        int a,b,c,d,e;
        a=4567;
        System.out.println("将4567拆解");
        b=a/1000;
        c=a/100%10;
        d=a/10%10;
        e=a%10;
        System.out.println("拆解完成");
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);
    }
}
